﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FifaChamps.API.Data
{
    public class Team
    {
        public int TeamID { get; private set; }
        public string Name { get; private set; }
        public int? Rating { get; private set; }

        private Team(int teamid, string name, int? rating)
        {
            TeamID = teamid;
            Name = name;
            Rating = rating;
        }

        internal static Team Factory(int teamid, string name, int? rating)
        {
            return new Team(teamid, name, rating);
        }
    }
}
